html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#show_i_code {
  position: absolute;
  width: 100%;
  font-size: 12px;
  color: #ddd;
  z-index: 10;
}

.download {
  .desktop-service {
    @if $path == 'blhg' {
      margin-left: 10px;
      margin-right: 10px;
      background-repeat: no-repeat;
      height: 100px;
      background-position: center center;
      background-size: contain;
      background-image: url('/resource_images/#{$path}_appdown/download_v2/zm_kefu_btn.webp');
    }
  }

  width: 100%;
  height: 100%;
  // display: none;
  font-family: '微软雅黑';
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  .remind {
    width: 100%;
    min-height: 100%;
    position: relative;
    background: $backgrund;
    background-size: cover;

    .content {
      padding-bottom: 0.18rem;

      .logo_box {
        width: 100%;
        min-height: 2rem;
        text-align: center;
        font-size: 0;
        // padding-top: 0.2rem;
        // margin-bottom: 0.2rem !important;

        .logo_img {
          display: block;
          width: 2.46rem;
          float: left;
        }

        .logo_right_img {
          height: $logoHight;
          vertical-align: middle;
          @if $path == 'hgty' {
            height: auto;
            width: 145px;
          }
          @if $path == 'blhg' {
            height: 71px;
            width: 168px;
          }
        }

        .logo_desc_img {
          vertical-align: middle;
          margin-top: 0.3rem;
          width: 100%;
          @if $path == 'hgty' {
            width: 230px;
            height: auto;
            display: block;
            margin: 0 auto;
            margin-top: 0.3rem;
          }
        }
      }

      .intro_img_box {
        padding-top: 0.25rem;
        min-height: 9rem;
        position: relative;
        .safeDown {
          display: none;
          outline: none;
          border: none;
          z-index: 99;
          width: 1.68rem;
          height: 0.6rem;
          position: absolute;
          right: 0;
          bottom: -0.1rem;
          border-radius: 2rem 0 0 2rem;
          background: url('/resource_images/#{$path}_appdown/common/img-diaoqian@2x.png')
            no-repeat;
          background-size: cover;
          box-shadow: 0 2px 3px 0 rgba(38, 144, 255, 0.35);
        }
        .swiper-slide-img-wrap img {
          max-width: 100%;
        }
        .swiper-container {
          font-size: 0;
          @if $path == 'hgty' {
            margin-top: 0.2rem;
          }
          // margin-top: -0.2rem;

          .swiper-slide img {
            display: block;
            border: none;
            margin: 0 auto;
          }
          .swiper-slide img[title] {
            // position: absolute;
            // top: 0;
            // left: 0;
            // right: 0;
          }
          .swiper-slide img[h45] {
            height: 0.9rem;
          }
          .swiper-slide img[h85] {
            height: 1.7rem;
          }
          .swiper-slide img[h76] {
            height: 1.52rem;
          }
          .swiper-slide img[h84] {
            height: 1.66rem;
          }
          .swiper-slide img[h108] {
            height: 2.16rem;
          }
          .swiper-slide img[mt24] {
            margin: 0.48rem auto;
          }
          .swiper-slide img[mt7] {
            margin: 0.14rem auto;
          }
          .swiper-slide img[mt6] {
            margin: 0.12rem auto;
          }
          .swiper-slide img[mt-10] {
            margin-top: -0.2rem;
            margin-bottom: 0.12rem;
          }
          .swiper-slide .margin20 {
            margin-top: 0.4rem;
          }

          // 左右箭头
          .swiper-pagination {
            position: relative;
            bottom: 0 !important;
          }

          .swiper-button-prev {
            width: 0.32rem;
            height: 0.8rem;
            background: url('/resource_images/#{$path}_appdown/download_v2/icon-left.png?__static_hash__')
              no-repeat;
            background-size: cover;
          }

          .swiper-button-next {
            width: 0.32rem;
            height: 0.8rem;
            background: url('/resource_images/#{$path}_appdown/download_v2/icon-right.png?__static_hash__')
              no-repeat;
            background-size: cover;
          }
          // 滑块
          .swiper-pagination-bullet {
            display: inline-block;
            border-radius: 0.08rem;
            background: #dee2f0 !important;
            opacity: 1 !important;
            width: 0.16rem;
            height: 0.08rem;
            margin: 0 0.04rem !important;
            transition: all linear 0.3s;
            -webkit-transition: all linear 0.3s;
          }

          .swiper-pagination-bullet-active {
            width: 0.32rem;
            background-color: #9aa4c2 !important;
          }
        }
      }
      .contact_info {
        text-align: center;
        font-size: 0;
        width: 60%;
        min-width: 260px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0.16rem;
        span {
          font-weight: 500;
          font-size: 0.2rem;
          color: #d2b79c;
          color: #1c88ff;
        }
      }

      .down_tip {
        font-size: 0.2rem;
        line-height: 0.36rem;
        color: $theme_tip_color;
        text-align: center;
        padding: 0.1rem 0.2rem 0.1rem;

        li {
          list-style: none;
        }
      }
      .android_tip_class {
        margin-bottom: 0.2rem;
      }

      .load {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;

        button {
          display: block;
          width: 4.8rem;
          height: 0.72rem;
          line-height: 0.72rem;
          padding: 0;
          font-size: 0.28rem;
          color: #ffffff;
          margin: 0 auto;
          text-align: center;
          border-radius: 0.36rem;
          box-shadow: 0 0.04rem 0.16rem 0 rgba(65, 70, 85, 0.1);
          border: none;
        }

        .installContainer,
        #progressContainer {
          position: relative;

          .install {
            box-shadow: 0 0.04rem 0.16rem 0 rgba(65, 70, 85, 0.15);
            background: $gradient;
            animation: install-button 0.66s ease-in-out;

            &:disabled {
              opacity: 0.5;
            }
          }

          .install_end {
            opacity: 0.89;
            background: $gradient;
          }

          .install img,
          .install_end img {
            width: 0.27rem;
            height: 0.27rem;
            vertical-align: middle;
            margin-right: 0.1rem;
            margin-top: -0.02rem;
          }

          .fdqInstall {
            margin-top: 8px;
          }

          .can_install_class {
            opacity: 1;
          }

          #installDiv {
            position: absolute;
            display: none;
            left: 0;
            top: 0;
            bottom: 0;
            right: 0;
            z-index: 9;
          }
        }

        .trust {
          margin-left: 0.1rem;
          width: 3.88rem;
          opacity: 0.5;
          background: $gradient;
        }
        .trust_active {
          opacity: 1;
        }
        // 进度条
        #progressContainer {
          height: 0.72rem;
          text-align: center;
          display: flex;
          justify-content: center;
          align-items: center;

          #progress {
            margin-right: 0.1rem;
            width: 0.72rem;
            height: 0.72rem;

            .progressbar-text {
              width: 100%;
              text-align: center;
              font-size: 0.2rem;
              color: #3d72fa;
            }
          }
          #progress svg {
            vertical-align: top;
            padding-right: 1px;
          }
        }
      }
    }

    .tuto {
      width: 100%;
      line-height: 0;
      text-align: center;

      .tutoTxt {
        font-size: 0.28rem;
        line-height: 0.4rem;
        font-weight: bold;
        vertical-align: top;
        color: $theme_color;
      }

      #consult {
        display: block;
        padding-bottom: 0.1rem;
        border: none;
        width: 0.28rem;
        height: 0.28rem;
        margin: 0 auto;
        background-size: contain;
        background-position: top center;
        background-repeat: no-repeat;
        background-image: url('/resource_images/#{$path}_appdown/common/jiantou.png?__static_hash__');
      }
    }
    .gotoH5 {
      width: 4.8rem;
      height: $goH5Hight;
      line-height: $lineHight;
      text-align: center;
      margin: 0 auto;
      padding: 0;
      font-size: 0.24rem;
      border: 1px solid $theme_color;
      color: $theme_color;
      border-radius: 0.36rem;
      margin-bottom: 0.18rem;
    }
  }

  .torial {
    width: 100%;
    min-height: 100vh;
    font-size: 0;
    text-align: center;
    background: $backgrund;
    background-size: cover;
    padding-top: 1px;
    .installLogoContainer {
      text-align: center;
      padding: 0.4rem 0;
    }
    #installLogo {
      width: 0.54rem;
      height: auto;
      vertical-align: middle;
    }

    #installTutorial {
      width: 7rem;
      height: auto;
      margin: 0 auto;
    }
  }
}

.app-guide-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
}

.blur::before {
  background: url('/resource_images/#{$path}_appdown/common/mask.png?__static_hash__')
    repeat;
}

.app-guide-mask .blur {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.app-guide-mask .blur::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  -webkit-filter: blur(4px);
  filter: blur(4px);
  overflow: hidden;
}

@supports (-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px)) {
  .app-guide-mask .blur::before {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}

.app-guide-mask .guide-img {
  position: absolute;
  top: 2rem;
  transform: translate(-50%, -50%);
  left: 50%;
  right: 50%;
  width: 6.6rem;
  height: 2.78rem;
  background: url('/resource_images/#{$path}_appdown/common/inform.png?__static_hash__')
    no-repeat;
  background-size: 100% 100%;
}

.app-guide-mask .ios-baidu-guide-img {
  position: absolute;
  bottom: 0.22rem;
  left: 0.22rem;
  width: 5.6rem;
  height: 2.64rem;
  /* background: url('../images/guide/ios-baidu.png') no-repeat; */
  background-size: 100% 100%;
}

.modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1;
  visibility: hidden;
}

.modal {
  width: 317px;
  height: 372px;
  background-color: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 2;
  gap: 15px;
  visibility: hidden;
}

.modal-image {
  width: 78px;
  height: 78px;
  margin-top: 35px;
}

.modal-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 33.6px;
  color: #414655;
}

.modal-description {
  font-size: 14px;
  line-height: 19.6px;
  color: #6c7ba8;
  text-align: justify;
  margin: 10px 0;
  width: 100%;
  word-wrap: break-word;
}

.modal-button {
  width: 250px;
  height: 44px;
  font-size: 14px;
  border-radius: 22px;
  background-image: linear-gradient(to right, #ff8700, #ffc700);
  color: white;
  border: none;
  cursor: pointer;
  @if $path == 'blhg' {
    background-image: $gradient;
  }
}

.service-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: auto;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  color: white;
}

.service-card {
  width: auto;
  min-height: 89px;
  gap: 0;
  border-radius: 12px;
  justify-content: space-between;
  opacity: 1;
  //background-image: url('/resource_images/#{$path}_appdown/common/kefu_bg.png?__static_hash__');
  //background-size: 100% 100%;
  display: flex;
  align-items: center;
  padding: 6px 16px;
  align-content: center;
  @if $path == 10004 {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 12px 0px rgba(65, 118, 250, 0.10);
  }
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
}

.service-text-gap8 {
  gap: 8px;
}

.service-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 10px;
  flex-grow: 1;
  color: $strong;

  p {
    color: $strong;
  }
}

.btn {
  width: 98px;
  height: 28px;
  border-radius: 14px;
  font-size: 14px;
  border: 1px solid $theme_color;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: $gradient;
}

.btn:hover {
  background: $gradient;
}

.vertical-btns {
  min-height: 32px;
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: space-evenly;
  margin-top: 0.2rem;

  .app-download-btn {
    width: 28vw;
    height: 8.5vw;
    border: none;
    background: url('/resource_images/#{$path}_appdown/download_v2/appdown-btn.png?__static_hash__')
      no-repeat;
    background-size: 100% 100%;
  }

  .app-download-btn {
    width: 28vw;
    height: 8.5vw;
    border: none;
    background: url('/resource_images/#{$path}_appdown/download_v2/appdown-btn.png?__static_hash__')
      no-repeat;
    background-size: 100% 100%;
  }

  .goto-h5-btn {
    width: 28vw;
    height: 8.5vw;
    border: none;
    background: url('/resource_images/#{$path}_appdown/download_v2/goto-h5-btn.png?__static_hash__')
      no-repeat;
    background-size: 100% 100%;
  }

  .jc-btn {
    width: 28vw;
    height: 8.5vw;
    border: none;
    background: url('/resource_images/#{$path}_appdown/download_v2/jc-btn.png?__static_hash__')
      no-repeat;
    background-size: 100% 100%;
  }
}

.back-top-btn {
  height: 32px;
  line-height: 32px;
  width: 120px;
  font-size: 14px;
  text-align: center;
  margin: 0 auto;
  border-radius: 16px;
  background: $them_gradient;
  color: $card_title;
  margin-top: 0.6rem;
  @if $path == 'hgty' {
    color: #fff;
  }
  @if $path == 'blhg' {
    color: #fff;
  }
}

#confirmModal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
}

#confirmModal .modal-content {
  padding: 20px;
}

#confirmModal .modal-content p {
  margin-bottom: 20px;
  font-size: 16px;
  color: $strong;
}

#confirmModal .modal-content button {
  width: 100%;
  height: 40px;
  background: $them_gradient;
  color: $card_bg;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#confirmModal .modal-content button:hover {
  background: $them_gradient;
}

#modalOverlayTips {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

img[src=""] {
  visibility: hidden;
}